#!/bin/sh

n_arrivals="-1 0 1 2 5 10 20 50 100"

MS2LSTAT=/home/cezanne/work/ms2sim/src/ms2lstat/ms2lstat
MODULE=/home/cezanne/work/ms2sim/modules/.libs/lpm_netshow41.so
LOGDIR=/home/cezanne/work/ms2sim/src/ms2lstat/logs/ongamenet

for a in $n_arrivals
do
    if [ $a -lt 0 ]; then
	dir=
	A=
    else
	dir=`printf %02u $a`
	A="-a $a"
    fi
    $MS2LSTAT -m $MODULE -X -ltmp$dir/log -L $A $LOGDIR/NetShow.*.log
done
